﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace LogManager.Base
{
    public class EventTypeFilter : IEventTypeFilter
    {
        public EventTypeFilter()
        {
            EventType = "Undefined";
        }

        public EventTypeFilter(string eventType)
        {
            EventType = eventType;
        }

        [Required]
        [DisplayName("Event Type")]
        public string EventType { get; set; }
        
        [DisplayName("Filter Name")]
        public string FilterName { get; set; }

        [DisplayName("Filter Value")]
        public string FilterValue { get; set; }  
    }
}